package com.cloud.mall.oms.service;

import com.cloud.mall.base.BaseResponse;
import com.cloud.mall.oms.input.OmsOrderSettingInpDTO;
import com.cloud.mall.oms.out.OmsOrderSettingOut;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;


@Api(tags = "订单设置管理")
@RequestMapping("/orderSetting")
public interface OmsOrderSettingService {


    @ApiOperation("修改指定订单设置")
    @PostMapping("/update/{id}")
    BaseResponse update(@PathVariable Long id, @RequestBody OmsOrderSettingInpDTO omsOrderSettingInpDTO);

    @ApiOperation("获取指定订单设置")
    @GetMapping("/{id}")
    BaseResponse<OmsOrderSettingOut> getItem(@PathVariable Long id, @RequestBody OmsOrderSettingOut omsOrderSettingOut);

}
